﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dt261.Model
{
    [Table("ResultEntry")]
    public class ResultEntry
    {
        //+ (NSFetchRequest<ResultEntry*>*) fetchRequest;
        //entry.pointState = value[@"mask"];是否开启掩蔽
        //entry.pointType = value[@"maskV"];

        // 获取设置的标记类型，依据掩蔽与pointState
        private int id;
        private int mmtype = 0;// 0气导，1骨导、2声场
        private int pointState;//是否开启掩蔽
        private int pointType; //掩蔽大小
        private int valueX;
         private int valueY;
         private int isUserResp;
         private int testToneType;
         private int testToneTime;
         private int markType;
         private int yanbiType;
        private string dataSetId;//ResultDataSet
        private string uid;

        [PrimaryKey, AutoIncrement]
        public int Id { get => id; set => id = value; }
        public string Uid { get => uid; set => uid = value; }


        public int PointState { get => pointState; set => pointState = value; }
        public int PointType { get => pointType; set => pointType = value; }
        public int ValueX { get => valueX; set => valueX = value; }
        public int ValueY { get => valueY; set => valueY = value; }
        public int IsUserResp { get => isUserResp; set => isUserResp = value; }
        public int TestToneType { get => testToneType; set => testToneType = value; }
        public int TestToneTime { get => testToneTime; set => testToneTime = value; }
        public int MarkType { get => markType; set => markType = value; }
        public int YanbiType { get => yanbiType; set => yanbiType = value; }
        public string DataSetId { get => dataSetId; set => dataSetId = value; }
        public int Mmtype { get => mmtype; set => mmtype = value; }
    }
}
